MaxDate
MaxDate[{date1,date2,…}] gives the latest date of the datei.
MaxDate[interval] gives the endpoint of the date interval interval.
MaxDate[interval,gran] gives the endpoint of interval as specified by granularity gran.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.